﻿@{
    Layout = "~/Views/Home/_LayOutEmpty.cshtml";
}
@model TesteSharepointNovo.Models.Curriculo


@Html.Partial("TopBar")

<div class="box span12">
                    <div class="box-header well" data-original-title>
                        <h2><i class="icon-edit"></i> Informações Básicas</h2>
                        
                    </div>
<div class="box-content">
@using(Html.BeginForm("CriarCurriculo","Home",FormMethod.Post,new {@class="form-horizontal"})){

@Html.HiddenFor(c => c.Id);
<fieldset>
<div class="control-group">
  <label class="control-label">Nome completo:</label>
  <div class="controls">
    @Html.EditorFor(c => c.Nome, new { @class = "input-xlarge" })

        
  </div>
</div>



<!-- Text input-->
<div class="control-group">
  <label class="control-label">Cargo Pretendido:</label>
  <div class="controls">
    @Html.EditorFor(c => c.CargoPretendido, new { @class = "input-xlarge" })

        
  </div>
</div>

<div class="control-group">
  <label class="control-label">Data de Nascimento:</label>
  <div class="controls">
   
    @Html.EditorFor(c => c.DataNascimento, new { @class = "input-xlarge" })
  </div>
</div>


<div class="control-group">
  <label class="control-label">Endereço:</label>
  <div class="controls">
   
    @Html.EditorFor(c => c.Endereco, new { @class = "input-xlarge" })
  </div>
</div>

<div class="control-group">
  <label class="control-label">Estado:</label>
  <div class="controls">
   
        <select name="Estado" id="Estado" class="input-xlarge">
            <option  value='br'>BR</option>
            <option @if (Model.Estado == "ac") { Response.Write("selected"); } value='ac'>AC</option>
            <option @if (Model.Estado == "al") { Response.Write("selected"); }  value='al'>AL</option>
            <option @if (Model.Estado == "am") { Response.Write("selected"); }  value='am'>AM</option>
            <option @if (Model.Estado == "ap") { Response.Write("selected"); }  value='ap'>AP</option>
            <option @if (Model.Estado == "ba") { Response.Write("selected"); }  value='ba'>BA</option>
            <option @if (Model.Estado == "ce") { Response.Write("selected"); }  value='ce'>CE</option>
            <option @if (Model.Estado == "df") { Response.Write("selected"); }  value='df'>DF</option>
            <option @if (Model.Estado == "es") { Response.Write("selected"); }  value='es'>ES</option>
            <option @if (Model.Estado == "go") { Response.Write("selected"); }  value='go'>GO</option>
            <option @if (Model.Estado == "ma") { Response.Write("selected"); }  value='ma'>MA</option>
            <option @if (Model.Estado == "mg") { Response.Write("selected"); }  value='mg'>MG</option>
            <option @if (Model.Estado == "ms") { Response.Write("selected"); }  value='ms'>MS</option>
            <option @if (Model.Estado == "mt") { Response.Write("selected"); }  value='mt'>MT</option>
            <option @if (Model.Estado == "pa") { Response.Write("selected"); }  value='pa'>PA</option>
            <option @if (Model.Estado == "pb") { Response.Write("selected"); }  value='pb'>PB</option>
            <option @if (Model.Estado == "pe") { Response.Write("selected"); }  value='pe'>PE</option>
            <option @if (Model.Estado == "pi") { Response.Write("selected"); }  value='pi'>PI</option>
            <option @if (Model.Estado == "pr") { Response.Write("selected"); }  value='pr'>PR</option>
            <option @if (Model.Estado == "rj") { Response.Write("selected"); }  value='rj'>RJ</option>
            <option @if (Model.Estado == "rn") { Response.Write("selected"); }  value='rn'>RN</option>
            <option @if (Model.Estado == "ro") { Response.Write("selected"); }  value='ro'>RO</option>
            <option @if (Model.Estado == "rr") { Response.Write("selected"); }  value='rr'>RR</option>
            <option @if (Model.Estado == "rs") { Response.Write("selected"); }  value='rs'>RS</option>
            <option @if (Model.Estado == "sc") { Response.Write("selected"); }  value='sc'>SC</option>
            <option @if (Model.Estado == "se") { Response.Write("selected"); }  value='se'>SE</option>
            <option @if (Model.Estado == "sp") { Response.Write("selected"); }  value='sp'>SP</option>
            <option @if (Model.Estado == "to") { Response.Write("selected"); }  value='to'>TO</option>
        </select>  
  </div>
</div>

<div class="control-group">
  <label class="control-label">Cidade:</label>
  <div class="controls">
 

  </div>
</div>

<div class="control-group">
  <label class="control-label">Estado Civil:</label>
  <div class="controls">
   
    @Html.EditorFor(c => c.EstadoCivil, new { @class = "input-xlarge" })
  </div>
</div>


<div class="control-group">
  <label class="control-label">Naturalidade:</label>
  <div class="controls">
   
    @Html.EditorFor(c => c.Naturalidade, new { @class = "input-xlarge" })
  </div>
</div>



<div class="control-group">
  <label class="control-label">Nacionalidade:</label>
  <div class="controls">
   
    @Html.EditorFor(c => c.Nacionalidade, new { @class = "input-xlarge" })
  </div>
</div>



<div class="form-actions">
    <button type="submit" class="btn btn-primary">Salvar </button>
    <button type="reset" class="btn" onclick="history.go(-1)">Cancelar</button>
</div>
</fieldset>
}
</div>
</div>

